
    /**  
    * @Title: WxMessge.java
    * @Package com.third.wx.gzh.util
    * @Description: 
    * @author likai
    * @date 2017年8月2日
    * @version V1.0  
    */
    
package com.third.base.wx;


    /**
    * @ClassName: WxMessge
    * @Description: 接收微信公众号消息数据封装对象
    * @author likai
    * @date 2017年8月2日
    *
    */

public class WxGzhMessge {
	private String ToUserName;//开发者微信号
	private String FromUserName;//发送方帐号（一个OpenID）
	private String CreateTime;//消息创建时间 （整型）
	private String MsgType;//消息类型，event
	private String Event="";//事件类型，subscribe为关注
	private String EventKey;//事件KEY值，qrscene_为前缀，后面为二维码的参数值
	private String Ticket;//二维码的ticket，可用来换取二维码图片
	
	
	
	
	public String getToUserName() {
		return ToUserName;
	}
	public String getFromUserName() {
		return FromUserName;
	}
	public String getCreateTime() {
		return CreateTime;
	}
	public String getMsgType() {
		return MsgType;
	}
	public String getEvent() {
		return Event;
	}
	public String getEventKey() {
		return EventKey;
	}
	public String getTicket() {
		return Ticket;
	}
	public void setToUserName(String toUserName) {
		ToUserName = toUserName;
	}
	public void setFromUserName(String fromUserName) {
		FromUserName = fromUserName;
	}
	public void setCreateTime(String createTime) {
		CreateTime = createTime;
	}
	public void setMsgType(String msgType) {
		MsgType = msgType;
	}
	public void setEvent(String event) {
		Event = event;
	}
	public void setEventKey(String eventKey) {
		EventKey = eventKey;
	}
	public void setTicket(String ticket) {
		Ticket = ticket;
	}
	
	    /* 
	    * @Description: 
	    * 
	    * @return
	    * @see java.lang.Object#toString()
	    */
	    
	@Override
	public String toString() {
		return "WxMessge [ToUserName=" + ToUserName + ", FromUserName=" + FromUserName + ", CreateTime=" + CreateTime
				+ ", MsgType=" + MsgType + ", Event=" + Event + ", EventKey=" + EventKey + ", Ticket=" + Ticket + "]";
	}
	
	
	

}
